﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class ItemPack : MonoBehaviour {

    bool hadInitGrids = false;

    void OnEnable() {
        showItems();
    }

    // Use this for initialization
    void Start () {
		
	}
	
	// Update is called once per frame
	void Update () {
		
	}

    public void onBtnCloseClick() {
        gameObject.SetActive(false);
    }

    //初始化所有格子
    void initGrids() {

    }

    //显示背包中的物品
    void showItems() {
        if (!this.hadInitGrids) {
            initGrids();
        }
    }
}
